package org.meetunexpectedly.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Description: 管理收藏夹下的视频
 * @Author: pupil
 * @Date: 2024/08/23 下午 7:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FavoritesVideo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 收藏夹id
    private Long favoritesId;

    // 视频id
    private Long videoId;

    // 用户id（冗余字段）
    private Long userId;
}
